package cn.wx.sentine;

import cn.wx.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class SentineFusing {

    public static User fuseDegradation(@PathVariable Long id,Throwable e){
        e.printStackTrace();
        return new User(-1L,"熔断了","拜拜");
    }



}
